<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<script type="text/javascript">
	$(function() {
		$('#admin_kmxxAdd_combogrid').combogrid({
			multiple : true,
			nowrap : false,
			url : '${pageContext.request.contextPath}/taccountController/datagrid.action',
			panelWidth : 450,
			panelHeight : 200,
			idField : 'id',
			textField : 'id',
			pagination : true,
			fitColumns : true,
			rownumbers : true,
			editable : true,
			mode : 'remote',
			delay : 500,
			pageSize : 5,
			pageList : [ 5, 10 ],
			columns : [ [ {
				field : 'id',
				title : '编号',
				width : 150,
				hidden : true
			}, {
				field : 'accNo',
				title : '科目编号',
				width : 150
			}, {
				title : '科目名称',
				field : 'accName',
				width : 300,
			}, {
				title : '描述',
				field : 'description',
				width : 300
			} ] ]
		});
		$('#admin_cusAdd_combogrid').combogrid({
			multiple : true,
			nowrap : false,
			url : '${pageContext.request.contextPath}/customerInfoController/treegrid.action',
			panelWidth : 450,
			panelHeight : 200,
			idField : 'customerid',
			textField : 'customerid',
			pagination : true,
			fitColumns : true,
			rownumbers : true,
			editable : true,
			mode : 'remote',
			delay : 500,
			pageSize : 5,
			pageList : [ 5, 10 ],
			columns : [ [ {
				field : 'customerid',
				title : '编号',
				width : 150,
				hidden : true
			},  {
				field : 'customercode',
				title : '客户编码',
				width : 200
				
			},  {
				field : 'customerzhname',
				title : '客户中文名称',
				width : 200
				
			}, {
				field : 'customerenname',
				title : '客户英文名称',
				width : 200
				
			} ] ]
		});
	});
</script>
<div align="center">
	<form id="admin_kmbzAdd_addForm" method="post">
		<table class="tableForm">
			<tr>
				<th>收费标准编号</th>
				<td><input id="cashid" name="cashid" readonly="readonly" /></td>
				<th>所属科目</th>
				<td><input id="admin_kmxxAdd_combogrid" name="accno" style="width: 155px;" /></td>
			</tr>
			<tr>
				<th>所属客户</th>
				<td><input id="admin_cusAdd_combogrid" name="tcustomerInfoId" style="width: 155px;" /></td>
				<th>价格</th>
				<td><input id="price" name="price" class="easyui-validatebox" data-options="required:true" /></td>
			</tr>
			<tr>
				<th>费用币制</th>
				<td>
					<select id="acccurr" name="acccurr">
						<option value="RMB">RMB</option>
						<option value="HKD">HKD</option>
						<option value="USD">USD</option>
					</select> 
				</td>
				<th>单位</th>
				<td><input id="units" name="units" class="easyui-validatebox" data-options="required:true" /></td>
			</tr>
			<tr>
				<th>收费标准描述</th>
				<td><input id="description" name="description" style="width: 155px;" /></td>
			</tr>
		</table>
	</form>
</div>